package com.example.cdctestsystem.mapper;

import com.example.cdctestsystem.pojo.QuestionType;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Property;

import java.util.List;

public interface QuestionTypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(QuestionType record);

    int insertSelective(QuestionType record);

    QuestionType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(QuestionType record);

    int updateByPrimaryKey(QuestionType record);

    List<QuestionType> findAll();

    List<Integer> findIdsById(Integer id);

    void deleteById(Integer id1);

    Integer findPidById(Integer id);

    List<QuestionType> selectList(@Param("name") String name);

    void updateSortById(QuestionType object);
}